package com.clss.commandhelper.function.home;

import android.content.Context;

import com.clss.commandhelper.base.BaseJson;
import com.clss.commandhelper.base.BaseModel;
import com.clss.commandhelper.net.ApiClient;
import com.clss.commandhelper.tools.SpHelper;

import retrofit2.Callback;


/**
 *
 * @author liuv
 * @date 2017/11/18
 */

public class HomeModel extends BaseModel {
    private static final String TAG = "HomeModel";

    public HomeModel(Context context) {
        super(context);
    }


    public void checkVersion(int version, Callback<BaseJson> callback){
        mCall = ApiClient.apiList.updateVersion(version);
        mCall.enqueue(callback);
    }
}
